package pers.xiaojun.boot.module.system.controller.user.vo.user;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import pers.xiaojun.boot.common.enums.CommonStatusEnum;
import pers.xiaojun.boot.common.validation.constraints.InEnum;
import pers.xiaojun.boot.common.validation.group.CreateGroup;

/**
 * 用户密码更新实体
 *
 * @author xiaojun
 * @since 2025-11-07
 */
@Schema(description = "用户密码更新实体-VO")
@Data
public class UserStatusPasswordReqVO {

    @Schema(description = "用户编号", example = "1")
    private Long id;

    @Schema(description = "密码", requiredMode = Schema.RequiredMode.REQUIRED, example = "123456")
    @NotBlank(message = "密码不能为空")
    @Length(min = 4, max = 16, message = "密码长度为 4-16 位")
    private String password;

}
